@import "common.css";

.project_list {
    width: 1142px;
    margin: 25px auto 0;
}
.project_list li {
    float: left;
    position: relative;
    width: 248px;
    height: 244px;
    margin-right: 35px;
    margin-bottom: 50px;
    background: #FFFFFF;
    border: 1px solid #D6DDE1;
    border-radius: 4px;
}
.project_list li:nth-child(4n) {
    margin-right: 0;
}
#view li:hover {
    cursor: pointer;
    border: 1px solid #F76B1C;
}
.project_list li:hover .dem_btn {
    opacity: 1;
}
.project_list .title {
    width: 228px;
    height: 64px;
    padding: 10px;
    background: #F9F9F9;
    border-radius: 4px 4px 0 0;
}
.project_list .title h1 {
    font-family: PingFangSC-Medium;
    font-size: 16px;
    font-weight: bolder;
    color: #333333;
    line-height: 22px;
    letter-spacing: 1.78px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project_list .name, .project_list .intro, .project_list .details {
    padding: 15px 10px 0;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #666666;
    line-height: 20px;
}
.project_list .details span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dem_btn {
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 249px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-image: linear-gradient(-180deg, #FAC661 0%, #F76B1C 100%);
    border-radius: 0 0 4px 4px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0;
}
.dem_btn:hover {
    color: #fff;
}

/* 需求详情 start */
.dem_content {
    width: 1020px;
    min-height: 470px;
    padding: 20px 40px;
    margin: 20px auto;
    background-color: #fff;
}
.dem_content .title {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #ccc;
}
.dem_content h1 {
    font-family: PingFangSC-Semibold;
    font-size: 20px;
    font-weight: bolder;
    color: #333333;
    text-align: center;
}
.dem_content .intro {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
}
.dem_left {
    float: left;
    margin-top: 20px;
    padding-right: 10px;
    width: 690px;
    border-right: 1px solid #ccc;
}
.dem_right {
    float: right;
    margin-top: 20px;
    width: 300px;
}
.dem_left h2 {
    padding-left: 8px;
    border-left: 3px solid #FF6900;
    font-weight: bolder;
    font-family: PingFangSC-Medium;
    font-size: 14px;
    color: #333333;
    margin-top: 20px;
}
.dem_left p {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #333333;
    margin-top: 16px;
}
.dem_right h3 {
    font-family: PingFangSC-Medium;
    font-size: 16px;
    font-weight: bolder;
    color: #333333;
    text-align: center;
    margin: 10px 0 36px;
}
.dem_right .name, .dem_right .unit, .dem_right intro {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #333333;
    margin-bottom: 12px;
}
.dem_right .pic {
    margin-top: 18px;
}
.dem_right .pic img {
    float: left;
    width: 60px;
    height: 45px;
    margin-right: 6px;
}
.dem_box_btn {
    display: block;
    width: 248px;
    height: 40px;
    margin: 40px auto 0;
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #FAC661;
    background-image: linear-gradient(-180deg, #FAC661 0%, #F76B1C 100%);
}
.dem_box_btn:hover {
    color: #fff;
}
/* 需求详情 end */

/* 发布需求 start */
.pro_btn {
    display: block;
    width: 248px;
    height: 40px;
    margin: 60px auto 0;
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #FAC661;
    background-image: linear-gradient(-180deg, #FAC661 0%, #F76B1C 100%);
}
.pro_btn:hover {
    color: #fff;
}
.layui-form {
    width: 700px;
    margin: 40px auto 0;
}
.layui-form-select dl dd.layui-this {
    background-color: #4381FD;
}
.layui-textarea {
    resize: none;
}
.layui-upload-drag {
    width: 120px;
    height: 90px;
}
/* 发布需求 end */

/* 招商 start */
#view_1 li:hover {
    cursor: pointer;
    border: 1px solid #6497EA;
}
.project_list li:hover .dem_btn_1 {
    opacity: 1;
}
.dem_btn_1 {
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 249px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #6497EA;
    border-radius: 0 0 4px 4px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0;
}
.dem_btn_1:hover {
    color: #fff;
}
.dem_box_btn_1 {
    display: block;
    width: 248px;
    height: 40px;
    margin: 40px auto 0;
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #6497EA;
    background-color: #6497EA;
    transition: color 0.5s, background-color 0.5s;
}
.dem_box_btn_1:hover {
    color: #6497EA;
    background-color: #fff;
}
.inv_area {
    min-height: 248px;
}
.pro_btn_1 {
    display: block;
    width: 248px;
    height: 40px;
    margin: 60px auto 0;
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #6497EA;
    background-color: #6497EA;
    transition: color 0.5s, background-color 0.5s;
}
.pro_btn_1:hover {
    color: #6497EA;
    background-color: #fff;
}
/* 招商 end */

/* 农村 start */
#view_2 li:hover {
    cursor: pointer;
    border: 1px solid #008538;
}
.project_list li:hover .dem_btn_2 {
    opacity: 1;
}
.dem_btn_2 {
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 249px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #008538;
    border-radius: 0 0 4px 4px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0;
}
.dem_btn_2:hover {
    color: #fff;
}
.dem_box_btn_2 {
    display: block;
    width: 248px;
    height: 40px;
    margin: 40px auto 0;
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #008538;
    background-color: #008538;
    transition: color 0.5s, background-color 0.5s;
}
.dem_box_btn_2:hover {
    color: #008538;
    background-color: #fff;
}
.pro_btn_2 {
    display: block;
    width: 248px;
    height: 40px;
    margin: 60px auto 0;
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #008538;
    background-color: #008538;
    transition: color 0.5s, background-color 0.5s;
}
.pro_btn_2:hover {
    color: #008538;
    background-color: #fff;
}
/* 农村 end */

/* 个人中心 start */
.project_list li:hover .dem_btn_all {
    opacity: 1;
}
.dem_btn_all {
    position: absolute;
    bottom: -1px;
    right: 0;
    opacity: 0;
    width: 249px;
    padding: 8px 0;
    background-color: #6497EA;
}
.dem_btn_all a {
    width: 80px;
    padding: 0 20px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #FFFFFF;
}
.dem_btn_all a:hover {
    color: #fff;
}
.dem_btn_3 {
    border-right: 1px solid #fff;
}
/* 个人中心 end */